package fruit;

public class Apple extends Fruit
{
   public Apple(String aColor)
   {
      super();
      color = aColor;
   }
   public String toString()
   {
      return super.toString() + " and I am an apple and "+ color;
   }
   
   public String getColor()
   {
      return color;
   }
   private String color;
}
